home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 008 / cps.arc / CPSNOTES.DOC < prev    next >
Encoding:
Text File  |  1985-12-19  |  5.9 KB  |  116 lines

  1.  
  2. Jeffrey D. Prouty                                      18 December 1985
  3. Jordan Oil & Gas Company
  4. P.O. Box 1919
  5. Santa Rosa, CA  95402
  6.  
  7.  
  8. Dennis Dubose, et al
  9. Radian Corporation
  10. P.O. Box 9948
  11. Austin, TX  78766
  12.  
  13.  
  14. Re:  Use of AutoCAD for data input to CPS/PC
  15.  
  16.  
  17. AutoCAD by AutoDesk may be used to prepare x, y, z, polyline, text, and
  18. symbol data for input to CPS/PC.  This may be done as one is drawing a
  19. basemap on which CPS-generated contours may later be plotted.  Seismic
  20. time horizons may also be digitized with AutoCAD, plotted at shotpoints
  21. on the basemap and then extracted as data for CPS.
  22.  
  23. Basemap preparation begins by starting AutoCAD with a prototype drawing
  24. which sets up the initial drawing environment.  My prototype basemap is
  25. called MAP.DWG and is loaded by default.  It calls my mapping menu,
  26. ATT0.MNU, which contains four submenus which may be accessed from the
  27. screen, cursor buttons, or tablet menu area.
  28.  
  29. I proceed to build the basemap, usually with land grid from USGS topos,
  30. wells from PI lease maps, and seismic from shot point maps, placing data
  31. on the appropriate layers.  Cursor buttons 8 thru D spot and scale the
  32. well symbols.   Well tops may be input as the wells are spotted by calling
  33. up the ATT1 OR ATT2 menus which prompt for one or two data per well.
  34. These data are stored as attributes WDATA1 and WDATA2 which may be made
  35. visible by setting ATTDISP to ON.  If ATT0 or ATT1 are used both or one
  36. attribute will be given the default value of 99999 (my INDT value in CPS).
  37. Of course, any number of data may be stored in this manner, including
  38. well name, operator, KB, etc.  The well symbol type is inherent to the
  39. block name and will be extracted as the CPS symbol code for each well.
  40.  
  41. Seismic lines are usually plotted on separate layers using the seismic
  42. submenu.  Lines must be posted in ascending order if data is to be
  43. automatically inserted (see below).  Button 7 (BOL) begins a line, setting
  44. the initial shotpoint number to 100 and the label increment to 10.   These
  45. may be changed via AutoCAD's LISP language, ie. "(setq sp 94)" or "(setq
  46. inc 9)".  Remaining shotpoints are plotted using buttons 4, 5, 8, and 9.
  47. Major shotpoints are labeled with sp which is incremented by inc. All
  48. shotpoints have invisible attributes tagged SDATA.  Menus could allow
  49. immediate data entry as with the wells, or digitized data may later be
  50. added to each plotted shotpoint via a menu generated by a program (see
  51. below).  The line may be ended with button B (EOL) and labeled with C.
  52.  
  53. Data stored as attributes by wells and shotpoints may be edited with the
  54. ATTEDIT command and extracted with the ATTEXT command.  The manual has
  55. details.  Choose the SDF extraction format.  Examples of my template files
  56. are included as *.TXT files.
  57.  
  58. I should note that most of my most frequently used AutoCAD command
  59. sequences are stored as macros under SuperKey and therefore do not appear
  60. as menu selections.  Also, viewing and editing menus, scripts, data, and
  61. template files while still in AutoCAD is easy with SideKick's Notepad (use
  62. the MENU command to retrieve edited menus and try out changes).  The SHELL
  63. command will let you out to DOS to do such things but may not let you back
  64. into AutoCAD - save your drawing first!
  65.  
  66. Digitizing horizons from seismic sections is more complicated but can be
  67. very efficient when working with many horizons on many lines in a given
  68. area.  Begin by starting a new drawing, usually with the name of the
  69. seismic line, using SEIS.DWG as the prototype, ie. "DB01=SEIS".  Call the
  70. SeisSec submenu.  Snap aspect is set to 1 inch horizontal which must
  71. correspond to your sampling interval (usually every fifth shotpoint).
  72. Change if necessary, but leave the vertical snap resolution at .0001 inch.
  73.  
  74. Calibrate the tablet to your seismic section in inches.  Place 0,0 at
  75. about 1.5 seconds on the leftmost sampled shotpoint.  Note this shotpoint
  76. and time for later use.  Choose the second point at least 10 horz. and 10
  77. vert. inches away, but somewhere in the upper right corner of your
  78. section.  Use "inches" as scaled on the section, not true inches, to
  79. adjust for printer and paper stretch.
  80.  
  81. Number the horizons and record them by moving the cursor along the
  82. horizons and pressing the horizon number on the cursor keypad at each
  83. sample interval.  The crosshairs should snap between horizontal sample
  84. shotpoints but have full vertical freedom.  ATTEXT with the F key using
  85. SEIS.TXT as the template and the drawing name as the extract file name
  86. (the default).
  87.  
  88. Now, you may either END the drawing or use the SHELL command to return to
  89. DOS and run the BASIC program SPOST.  This pgm. reads the extract file and
  90. converts x and y coordinates to shotpoints and time.  You may also take
  91. isochrons between any horizons, print tables of the results, and create a
  92. .MNU file with the name of the seismic line.  Running the program should
  93. be self explanatory.  You may then return to AutoCAD to digitize a new
  94. section.
  95.  
  96. The menu files created by SPOST may be called in to automatically ATTEDIT
  97. the seismic lines posted above on your basemap.  Freeze all but a set of
  98. non-intersecting seismic lines.  Load one seismic line menu.  Select
  99. horizon or isochron to post.  Window that line and the digitized values
  100. will be edited into INDT attribute positions.  Repeat for all lines on the
  101. screen then freeze these, thaw a new set of lines, and continue.  ATTEXT
  102. using SDATA as a template file to create an x,y,z data file ready for CPS.
  103.  
  104. These are only a few, simple ways AutoCAD may be used for IO to and from
  105. other programs.  I've enclosed an excellent article from CADalyst which
  106. surveys the many roads into and out of AutoCAD.  I'm sure it will generate
  107. many new ideas usefull to your CPS interface.  If I may be of any further
  108. assistance feel free to call (707) 523-0900.  Keep me posted!
  109.  
  110.  
  111.                                Sincerely,
  112.  
  113.  
  114.  
  115.                                Jeff D. Prouty
  116.